﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Camc.Quality.StoreManagement
{
    public class MatchingStoreInput
    {
        public List<WorkMatching> Matchings { get; set; }
        /// <summary>
        /// 配套树当前点击节点Id
        /// </summary>
        public Guid NodeId { get; set; }
    }
    public class WorkMatching {
        public Guid LoadDetailsId { get; set; }
        public List<Guid> StoreIdList { get; set; } = new List<Guid>();
    }

    public class MatchingUpdateInput
    {
        /// <summary>
        /// 本次提交的数据
        /// </summary>
        public List<WorkMatching> OldMatchings { get; set; }
        /// <summary>
        /// 表单Id
        /// </summary>
        public Guid Id { get; set; }
    }
    public class MaterialDetailInput
    {
        /// <summary>
        /// 表单Id
        /// </summary>
        public Guid?Id { get; set; }

        /// <summary>
        /// 物料细料ID
        /// </summary>
        public Guid MaterialsContentId { get; set; }
        /// <summary>
        /// 当前点击表格Id
        /// </summary>
        public Guid?LoadDetailsId { get; set; }
        /// <summary>
        /// 操作0 新增查看 1 新增选择 2修改查看 3 修改选择  4退库查看  5 退库选择 6退库记录查看
        /// </summary>
        public int operation { get; set; }

    }

    public class CancellingInput
    {
        /// <summary>
        /// 本次提交的数据
        /// </summary>
        public List<WorkMatching> Matchings { get; set; }
        /// <summary>
        /// 表单Id
        /// </summary>
        public Guid DeliveryDocumentId { get; set; }
        /// <summary>
        /// 退库原因
        /// </summary>
        public string CancellingReason { get; set; }

        /// <summary>
        /// 退库人
        /// </summary>
        public string CancellingUser { get; set; }

        /// <summary>
        /// 退库人Id
        /// </summary>
        public long CancellingUserId { get; set; }
    }

    public class OthersCancellingInput
    {
        public List<Guid> StoreIdList { get; set; }
        /// <summary>
        /// 退库原因
        /// </summary>
        public string CancellingReason { get; set; }

        /// <summary>
        /// 退库人
        /// </summary>
        public string CancellingUser { get; set; }

        /// <summary>
        /// 退库人Id
        /// </summary>
        public long CancellingUserId { get; set; }

        /// <summary>
        /// 表单Id
        /// </summary>
        public Guid DeliveryDocumentId { get; set; }

    }
}
